package com.songshuai.webapi.permission.dto.request;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @Author: lhx
 * @Date: 2018/11/8 14:19
 * @Version 1.0
 */
@Data
public class DepartmentsAddReqDto {

    @NotNull(message = "父级部门不能为空")
    private Integer parentId;//父级部门id

    @NotBlank(message = "部门名称不能为空")
    private String name;//部门名称

//    @NotNull(message = "角色不能为空")
    private Integer functionRole;//角色id

    private Integer campusId;//校区id

    private String remark;//备注

    private Integer campusLevelType;//校区级别列表


}
